/**
 * Any CSS included here will be global. The classic template
 * bundles Infima by default. Infima is a CSS framework designed to
 * work well for content-centric websites.
 */

/* You can override the default Infima variables here. */
:root {
  --ifm-color-primary: #3e0d60;
  --ifm-color-primary-dark: #360b55;
  --ifm-color-primary-darker: #2e094a;
  --ifm-color-primary-darkest: #23073a;
  --ifm-color-primary-light: #4b1573;
  --ifm-color-primary-lighter: #561c85;
  --ifm-color-primary-lightest: #642a95;
  --ifm-code-font-size: 95%;
  --docusaurus-highlighted-code-line-bg: rgba(40, 10, 60, 0.1);
}

[data-theme='dark'] {
  --ifm-color-primary: #6b3fa0;
  --ifm-color-primary-dark: #5f3891;
  --ifm-color-primary-darker: #553283;
  --ifm-color-primary-darkest: #44276a;
  --ifm-color-primary-light: #7f54b0;
  --ifm-color-primary-lighter: #9168bd;
  --ifm-color-primary-lightest: #a27bcc;
  --docusaurus-highlighted-code-line-bg: rgba(100, 60, 130, 0.2);
}

[data-theme='light'] code {
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.95em;
}

[data-theme='dark'] code {
  background-color: rgba(255, 255, 255, 0.08);
  color: #f8f8f2;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.95em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

html {
  scroll-behavior: smooth;
}
